package com.situ.service;

import com.situ.dao.TblJdDAO;
import com.situ.dao.TblQxDAO;
import entity.TblJd;
import entity.TblQx;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FwxxServiceImpl implements FwxxService {

    @Autowired
    TblQxDAO qxdao;
    @Autowired
    TblJdDAO jddao;

    @Override
    public List<TblQx> queryall() {
        return qxdao.queryall();
    }

    @Override
    public List<TblJd> queryJdByQxid(int qxid) {
        return jddao.queryJdByQxid(qxid);
    }
}
